import request2 from './request2'
import request3 from './request3'
import qs from 'qs'

//测试有赞商城初始化token接口
export function initToken(data) {
  return request2({
    url: '/sso/open/initToken',
    method: 'post',
    data: qs.stringify(data)
  })
}
//测试有赞商城登录接口
export function login(data) {
  return request2({
    url: '/sso/open/login',
    method: 'post',
    data: qs.stringify(data)
  })
}
//测试有赞商城登出接口
export function logout(data) {
  return request2({
    url: '/sso/open/logout',
    method: 'post',
    data: qs.stringify(data)
  })
}
// 测试有赞接口
export function Import(data) {
  return request3({
    url: '/api/app/Import',
    method: 'post',
    data: qs.stringify(data)
  })
}






